function pagination(oSettings){
    if ( $('.dataTables_wrapper > .row > .col-xs-6 > .dataTables_paginate').size()>0 ) {
        $('.dataTables_wrapper > .row > .col-xs-6 > .dataTables_paginate').each(function(){
            $('<div class="col-xs-12 paginate"></div>').appendTo($(this).closest('.row'));
            $(this).appendTo($(this).closest('.row').children('.col-xs-12'));
            $(this).closest('.row').find('.dataTables_info').appendTo( $(this).closest('.row').find('.dataTables_info').closest('.row').children('.col-xs-12') );
            $(this).closest('.row').find('.col-xs-12 > .dataTables_paginate').closest('.row').children('.col-xs-6').remove();
        })
    }
    
	$('.dataTables_wrapper > .row > .col-xs-12 .dataTables_length select > option').each(function(){$(this).text($(this).val()+'条/页')})
    $('.dataTables_wrapper > .row > .col-xs-12 .dataTables_length select').select2();
    if ( !$(oSettings.nTable).closest('.dataTables_wrapper').find('span.page-goto').size()>0 ) {
        $('<span class="page-goto">跳至<input type="text" class="form-control" placeholder="" />页</span>').appendTo( $(oSettings.nTable).closest('.dataTables_wrapper').find(' > .row > .col-xs-12 > .dataTables_paginate').parent() )
    }
    $(document).on('keyup',"span.page-goto input",function(e){
        var code = e.which;
        var n=parseInt($(this).val()-1);
        if(code==13)e.preventDefault();
        if( (code==32||code==13||code==188||code==186) && (n-0>=0) ){
            $(this).closest('div.dataTables_wrapper').find('div.dataTables_scrollBody > table.dataTable').DataTable().page(n).draw(false)
        }
    })
    if ($(oSettings.nTable).closest('.dataTables_wrapper').find('#total').length == 0) {
        $('<span id="total">'+'共'+'<b class="orange">'+ oSettings._iRecordsTotal+'</b>' + '条数据,'+'</span>').insertBefore($(oSettings.nTable).closest('.dataTables_wrapper').find('div.dataTables_paginate'));
    } else {
        $(oSettings.nTable).closest('.dataTables_wrapper').find('#total').html('共'+'<b class="orange">'+ oSettings._iRecordsTotal+'</b>'+'条数据,');
    }
	//优化鼠标在表格列表行纵向移动，底部页数会下移动
	if (window.navigator.userAgent.indexOf('MSIE 9')>-1){
	    $('.dataTable').closest('div.dataTables_scrollBody').height($('div.dataTables_scrollBody .dataTable').outerHeight()+17 )
	}
}